package com.dongdongshop.service;

import com.dongdongshop.pojo.TbItem;
import com.dongdongshop.pojo.TbItemCat;
import com.dongdongshop.util.PageBean;

import java.util.List;

public interface ItemCatService {
    List<TbItemCat> getItemCatInfo(Integer parentId);

    TbItemCat updateInfo(Integer id);

    void update(TbItemCat itemCat);

    void insertItemCat(TbItemCat itemCat);

    void deleteBatch(Integer[] ids);

    TbItemCat getItemCatInfoById(Long category1Id);

    List<TbItem> getItemInfoById(Long id);
}
